
import 'package:myflutter/json/base/json_convert_content.dart';
import 'package:myflutter/json/base/json_field.dart';

class LifeCircleHomeEntity with JsonConvert<LifeCircleHomeEntity> {
	@JSONField(name: "current_page")
	int currentPage =1;
	List<LifeCircleHomeData>? data;
	@JSONField(name: "first_page_url")
	String? firstPageUrl;
	int? from;
	@JSONField(name: "next_page_url")
	dynamic? nextPageUrl;
	String? path;
	@JSONField(name: "per_page")
	int? perPage;
	@JSONField(name: "prev_page_url")
	dynamic? prevPageUrl;
	int? to;
	@JSONField(name: "max_page")
	int? maxPage;
}

class LifeCircleHomeData with JsonConvert<LifeCircleHomeData> {
	@JSONField(name: "_id")
	String? sId = '';
	String title = '';
	String? type = 'img';
	String? content = '';
	@JSONField(name: "img_video")
	List<LifeCircleHomeDataImgVideo> imgVideo = [];
	@JSONField(name: "account_id")
	String? accountId = '';
	@JSONField(name: "fabulous_count")
	int fabulousCount = 0;
	int views = 0;
	LifeCircleHomeDataUsers users = LifeCircleHomeDataUsers();
}


class LifeCircleHomeDataImgVideo with JsonConvert<LifeCircleHomeDataImgVideo> {
	String? status;
	double width = 1;
	double height = 1;
	String? url;
	String? type;
	String? path;
	String? thumbPath;
	String coverPic = '';
	String? endFrameUrl;
	String? completeUrl;
	String? thumbnail;
	String? completeStandUrl;
}

class LifeCircleHomeDataUsers with JsonConvert<LifeCircleHomeDataUsers> {
	@JSONField(name: "_id")
	String sId = '';
	String nickname = '';
	String avatar = '';
}
